package com.zdsoft.crm.quartz;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import com.zdsoft.crm.util.DbUtil;

public class DbBakJob extends QuartzJobBean {

	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
		System.out.println("备份结果: " + DbUtil.bakDb());
	}
}
